<template>
  <template v-if="loading">
    <CommonLoading />
  </template>
  <HttpErrorProvider>
    <NuxtLayout>
      <NuxtPage  class="h-full" />
    </NuxtLayout>
    <Toaster position="top-right" richColors style="z-index: 9999;"  />
  </HttpErrorProvider>
  <CommonDialog />
</template>
<script setup>
import { Toaster } from 'vue-sonner'
const loading = ref(true);
onNuxtReady(() => {

  setTimeout(() => {
    loading.value = false;
  }, 1000);
});
</script>


